package cn.edu.cug.bean;
public class ResultResponse {
  public final static String RESULT_OK = "ok";
  public final static String RESULT_ERROR = "error";
  public final static String RESULT_INVALID = "invalid";
  public final static String RESULT_DENIED = "denied";
  public final static String RESULT_PEND = "pend";

  private String result = "ok";
  private int code = 200;
  private String message = null;
  private Object data = null;
  private Object data_type = "json";
  public String getResult() {
    return result;
  }
  public void setResult(String result) {
    this.result = result;
  }
  public int getCode() {
    return code;
  }
  public void setCode(int code) {
    this.code = code;
  }
  public String getMessage() {
    return message;
  }
  public void setMessage(String message) {
    this.message = message;
  }
  public Object getData() {
    return data;
  }
  public void setData(Object data) {
    this.data = data;
  }
  public Object getData_type() {
    return data_type;
  }
  public void setData_type(Object data_type) {
    this.data_type = data_type;
  }
}
